package ooday02;

public class Doctor extends Person{
    String jobTitle;
    public Doctor() {
    }

    public Doctor(String name,int age,String address,String jobTitle) {
        super(name,age,address);
        this.jobTitle = jobTitle;
    }



    void cut(){
        System.out.println(name+"正在做手术");
    }
}
